<%@ page import="apralms.Literature" %>



<div class="fieldcontain ${hasErrors(bean: literatureInstance, field: 'code', 'error')} required">
	<label for="code">
		<g:message code="literature.code.label" default="Code" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="code" required="" value="${literatureInstance?.code}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: literatureInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="literature.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" required="" value="${literatureInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: literatureInstance, field: 'type', 'error')} required">
	<label for="type">
		<g:message code="literature.type.label" default="Type" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="type" required="" value="${literatureInstance?.type}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: literatureInstance, field: 'fileChapter', 'error')} ">
	<label for="fileChapter">
		<g:message code="literature.fileChapter.label" default="File Chapter" />
		
	</label>
	<g:textField name="fileChapter" value="${literatureInstance?.fileChapter}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: literatureInstance, field: 'fileName', 'error')} ">
	<label for="fileName">
		<g:message code="literature.fileName.label" default="File Name" />
		
	</label>
	<g:textField name="fileName" value="${literatureInstance?.fileName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: literatureInstance, field: 'fileNo', 'error')} ">
	<label for="fileNo">
		<g:message code="literature.fileNo.label" default="File No" />
		
	</label>
	<g:textField name="fileNo" value="${literatureInstance?.fileNo}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: literatureInstance, field: 'memo', 'error')} ">
	<label for="memo">
		<g:message code="literature.memo.label" default="Memo" />
		
	</label>
	<g:textField name="memo" value="${literatureInstance?.memo}"/>
</div>

